package yf.mall.enums;

import lombok.Getter;


/**
 *
 *
 *
 * @date Sun May 24 16:20:49 CST 2020
 */
@Getter
public enum ShopStatusEnum {


                   AUDIT(0,"待审核")
                                    ,
                
            
                   PASS(1,"通过")
                                    ,
                
            
                   NOPASS(2,"未通过")
                
                                ;
            
        
        int index;
        String value;

    ShopStatusEnum(int index,String value) {
        this.index = index;
        this.value = value;
        }

    public static String indexOf(int idx) {
        return ShopStatusEnum.values()[idx].getValue();
    }

}
